package com.cloud.consumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient(value = "nacos-provider", fallback = ConsumerFeignFallBack.class)
public interface ConsumerFeignClient {

    @RequestMapping("/hello")
    String hello();

}
